<?php

namespace app\yunda\validate;
use think\Validate;
class BatchOrder extends Validate
{
    //定义验证规则
    protected $rule = [
        'content|批量寄件信息' => 'require|regex:^[a-z0-9_-]{3,16}(\,)\d{11}(\,)[a-z0-9_-]{3,}(\,)[a-z0-9_-]{2,}$',
    ];

    //定义验证提示
    protected $message = [
//        'config_name.regex' => '请填写大于0的整数',
//        'config_value.regex' => '请填写大于0的整数',

    ];

    protected $scene=[
//        'edit'=>['config_value'=>'require',],
    ];

}
